-
Notifications
You must be signed in to change notification settings - Fork 579
feat(openai-agents): Set system instruction attribute on gen_ai.chat spans
#5370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(openai-agents): Set system instruction attribute on gen_ai.chat spans
#5370
Conversation
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Integrations
Openai
Openai Agents
Other
Internal Changes 🔧
🤖 This preview updates automatically when you update the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Description
Revert 54034dc and set system instruction attributes on
gen_ai.chatspans instead ofgen_ai.invoke_agentspans.Re-uses functions from setting system instructions in
OpenAIIntegration, sinceopenai-agentsuses a Responses API compatible input schema.Issues
Reminders
tox -e linters.feat:,fix:,ref:,meta:)